<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<link rel="stylesheet" media="screen" href="css/docs.css" />

<h2>${examPeriod.periodName}考核项目明细分值</h2>
<table class="display" id="example">
	<thead>
		<tr>
			<th><strong>考核项目</strong></th>
			<th>占比</th>
			<th>得分</th>
		</tr>
	</thead>
	<tbody>
		<s:if
			test="#request.examQualStandardSets==null or #request.examQualStandardSets.size() <= 0">
			<tr>
				<td>没有考核标准数据</td>
			</tr>
		</s:if>
		<s:else>
			<s:if
				test="#request.examQualScoreDetails==null or #request.examQualScoreDetails.size() <= 0">
				<tr>
					<td>暂无数据</td>
				</tr>
			</s:if>
			<s:else>
				<s:iterator value="#request.examQualScoreDetails" var="qis"
					status="sta">
					<s:if test="#sta.even">
						<tr class="gradeA">
					</s:if>
					<s:else>
						<tr class="gradeC">
					</s:else>
					<td>${qis.title}</td>
					<td><div class="progress">
							<span style="width: ${qis.percentage}%;"><b>${qis.percentage}%</b></span>
						</div></td>
					<td style="text-align: center"><s:if
							test="#qis.adjustScore != null and #qis.adjustScore > 0">${qis.adjustScore}</s:if>
						<s:else>${qis.rawScore}</s:else></td>
					</tr>
				</s:iterator>
			</s:else>
		</s:else>
	</tbody>
</table>